/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testerfid;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;

/**
 *
 * @author Aluno
 */
public class TesteRFID  implements Runnable {

    public void run(){
        
    
    }  
    
    public static void main(String[] args) throws Exception {
        URL rfid = new URL("http://10.2.7.200:81/diagnostics/identify");
        URLConnection yc = rfid.openConnection();
        BufferedReader in = new BufferedReader(new InputStreamReader(
                                    yc.getInputStream()));
        String inputLine;
        while ((inputLine = in.readLine()) != null) 
            System.out.println(inputLine);            
        in.close();
    }


}
